package com.traffic.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 信息公告表
 * </p>
 *
 * @author Hongyue Wang
 * @since 2017-04-20
 */
@TableName("TRAFFIC_INFORMATION")
public class TrafficInformation extends Model<TrafficInformation> {

    private static final long serialVersionUID = 1L;

    /**
     * PK
     */
	@TableId(value="ID", type= IdType.AUTO)
	private Integer id;
    /**
     * 标题
     */
	@TableField("TITLE")
	private String title;
    /**
     * 内容
     */
	@TableField("CONTENT")
	private String content;
    /**
     * 排序
     */
	@TableField("INFORMATION_SORT")
	private Integer informationSort;
    /**
     * 图片路径
     */
	@TableField("PIC_PATH")
	private String picPath;
    /**
     * 城市ID
     */
	@TableField("AREA_D")
	private Integer areaD;
    /**
     * 是否删除
     */
	@TableField("IS_DELETE")
	private String isDelete;
    /**
     * 添加人
     */
	@TableField("CREAT_USER_ID")
	private Integer creatUserId;
    /**
     * 添加时间
     */
	@TableField("CREAT_TIME")
	private String creatTime;
    /**
     * 修改人
     */
	@TableField("EDIT_USER_ID")
	private Integer editUserId;
    /**
     * 修改时间
     */
	@TableField("EDIT_TIME")
	private String editTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getInformationSort() {
		return informationSort;
	}

	public void setInformationSort(Integer informationSort) {
		this.informationSort = informationSort;
	}

	public String getPicPath() {
		return picPath;
	}

	public void setPicPath(String picPath) {
		this.picPath = picPath;
	}

	public Integer getAreaD() {
		return areaD;
	}

	public void setAreaD(Integer areaD) {
		this.areaD = areaD;
	}

	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public Integer getCreatUserId() {
		return creatUserId;
	}

	public void setCreatUserId(Integer creatUserId) {
		this.creatUserId = creatUserId;
	}

	public String getCreatTime() {
		return creatTime;
	}

	public void setCreatTime(String creatTime) {
		this.creatTime = creatTime;
	}

	public Integer getEditUserId() {
		return editUserId;
	}

	public void setEditUserId(Integer editUserId) {
		this.editUserId = editUserId;
	}

	public String getEditTime() {
		return editTime;
	}

	public void setEditTime(String editTime) {
		this.editTime = editTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
